package cjq.demo.service;

public class LogonService {
	public int checkUserRight(String userId, String password) {
		// 假设进行数据库操作
		if (password != null && "aaa".equals(userId)) {
			return 1;
		}
		return 0;
	}
}
